package com.sinothk.fc.storeMaterialRecord.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 物料记录表
 * @Author: Liangyt
 * @Date:   2022-09-24
 * @Version: V1.0
 */
@Data
@TableName("fc_store_material_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="fc_store_material_record对象", description="物料记录表")
public class StoreMaterialRecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**商铺ID*/
	@Excel(name = "商铺ID", width = 15)
    @ApiModelProperty(value = "商铺ID")
    private java.lang.String storeId;
    /**库存ID*/
    @Excel(name = "库存ID", width = 15)
    @ApiModelProperty(value = "库存ID")
    private String stockId;
	/**编号*/
	@Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "编号")
    private java.lang.String goodsNo;
    /**
     * 名称
     */
    @Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String goodsName;
    /**
     * 封面url
     */
    @Excel(name = "封面url", width = 15)
    @ApiModelProperty(value = "封面url")
    private String goodsCover;
	/**成本单价*/
	@Excel(name = "成本单价", width = 15)
    @ApiModelProperty(value = "成本单价")
    private java.lang.Integer goodsInPrice;
	/**库存量*/
	@Excel(name = "库存量", width = 15)
    @ApiModelProperty(value = "库存量")
    private java.lang.Integer stockNum;
	/**订单小计*/
	@Excel(name = "订单小计", width = 15)
    @ApiModelProperty(value = "订单小计")
    private java.lang.Integer goodsAllPrice;
	/**状态：0未支付1已支付2不需支付*/
	@Excel(name = "状态：0未支付1已支付2不需支付", width = 15)
    @ApiModelProperty(value = "状态：0未支付1已支付2不需支付")
    private java.lang.Integer state;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
    private java.lang.String optBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**所属部门*/
	@Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private java.lang.String orgCode;
    /**
     * 卖家ID
     */
    @Excel(name = "卖家ID", width = 15)
    @ApiModelProperty(value = "卖家ID")
    private String sellerId;
    /**
     * 卖家名称
     */
    @Excel(name = "卖家名称", width = 15)
    @ApiModelProperty(value = "卖家名称")
    private String sellerName;
    /**
     * 卖家名称
     */
    @Excel(name = "卖家名称", width = 15)
    @ApiModelProperty(value = "卖家名称")
    private String sellerPhone;
    /**
     * 卖家logo
     */
    @Excel(name = "卖家logo", width = 15)
    @ApiModelProperty(value = "卖家logo")
    private String sellerLogo;
}
